<%- include('header') %>
<head>
    <link href="/css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/main.css" />
</head>
<div id="wrapper">
    <script src="https://cdn.bootcdn.net/ajax/libs/flv.js/1.6.2/flv.min.js"></script>
    <script type="text/javascript" src="/js/sdbar.js"></script>
    <div id="sidebar">
        <span style="padding:10px">当前频道:<span id="channel"><%= channel%></span></span>
    </div>
    <div id="swbutton" onclick="switch_sidebar()"><span>&lt;</span></div>
    <div id="container">
        <video id="videoElement" autoplay muted controls controlslist="nodownload noremoteplayback noplaybackrate foobar">
            Video stream not available.
        </video>
        <script type="text/javascript" src="/js/channels.js"></script>
        <script type="text/javascript" src="/js/vid.js"></script>
        <script>
            get_list_and_load("<%= server%>","<%= channel%>","<%= token%>");
        </script>
    </div>
</div>
<%- include('footer') %>